package xyz.ljcc.ccmt.commons.utils.datatables;


/**
 * Table的多层多层表头工具类
 * @ClassName: TableHeader 
 * @Description: TODO(这里用一句话描述这个类的作用) 
 * @author liucan
 * @date 2017年8月19日 下午5:39:58 
 *
 */
public class TableHeader {

	private int colSpan; // 占列
	
	private int rowSpan; // 占行
	
	private String colName; // 列实际名
	
	private String showName; // 列显示名
	
	private Long colWidth;  // 列宽
	
	public TableHeader() {
		super();
	}

	public TableHeader(int colSpan, int rowSpan, String colName, String showName, Long colWidth) {
		super();
		this.colSpan = colSpan;
		this.rowSpan = rowSpan;
		this.colName = colName;
		this.showName = showName;
		this.colWidth = colWidth;
	}

	public int getColSpan() {
		return colSpan;
	}

	public void setColSpan(int colSpan) {
		this.colSpan = colSpan;
	}

	public int getRowSpan() {
		return rowSpan;
	}

	public void setRowSpan(int rowSpan) {
		this.rowSpan = rowSpan;
	}

	public String getColName() {
		return colName;
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public String getShowName() {
		return showName;
	}

	public void setShowName(String showName) {
		this.showName = showName;
	}

	public Long getColWidth() {
		return colWidth;
	}

	public void setColWidth(Long colWidth) {
		this.colWidth = colWidth;
	}

	@Override
	public String toString() {
		return "TableHeader [colSpan=" + colSpan + ", rowSpan=" + rowSpan + ", colName=" + colName + ", showName="
				+ showName + ", colWidth=" + colWidth + "]";
	}
	
	
}
